package BanyuanClub.Work.Day0223.GongJu;

import java.util.Arrays;

public class Text {
    public static void main(String[] args) {
        int[] arr = {1,2,3,4,5,6,7,8,9};
        for (int i = 0; i < arr.length/2; i++) {
            int t = 0;
            t = arr[i];
            arr[i] = arr[arr.length - i - 1];
            arr[arr.length - i - 1] = t;
        }
        System.out.println(Arrays.toString(arr));
    }
}
